package top.lyj.www;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

import com.apicloud.x5superwebview.demo.R;
import com.tz.liveplayermodule.LiveRoomNewActivity;
import com.tz.liveplayermodule.greendao.db.GreenDaoManager;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        GreenDaoManager.getInstance(this);

//        tokenddeab45aae9847c16ffcf3039f9456c6
//        appXIAOFANG
//        major_typeLEVEL_1
//        new1
//        is_live0
//        item_title2019注册消防公开课
//        course_id1229
//        urlTitle https://api.laoyaojing.net
//        username gh_96c7706f8ae6

        Intent intent = new Intent(this, LiveRoomNewActivity.class);
        intent.putExtra("token", "ddeab45aae9847c16ffcf3039f9456c6");
        intent.putExtra("app", "XIAOFANG");
        intent.putExtra("major_type", "LEVEL_1");
        intent.putExtra("new", 1);
        intent.putExtra("is_live", "0");
        intent.putExtra("item_title", "2019注册消防公开课");
        intent.putExtra("course_id", "1229");
        intent.putExtra("urlTitle", "https://api.laoyaojing.net");
        intent.putExtra("username", "gh_96c7706f8ae6");
        startActivity(intent);
    }
}
